package org.fisco.bcos.asset.resp;

import java.math.BigInteger;

/**
 * 单条捐赠记录项
 */
public class DonationRecordItem {
    private BigInteger amount;      // 捐赠金额
    private BigInteger timestamp;   // 捐赠时间
    private String donorAddress;    // 捐赠者地址

    public DonationRecordItem(BigInteger amount, BigInteger timestamp, String donorAddress) {
        this.amount = amount;
        this.timestamp = timestamp;
        this.donorAddress = donorAddress;
    }

    public BigInteger getAmount() {
        return amount;
    }

    public BigInteger getTimestamp() {
        return timestamp;
    }

    public String getDonorAddress() {
        return donorAddress;
    }
}